<template>
  <div class="sub-title-box">
    {{ title }}
    <slot></slot>
  </div>
  <div class="line"></div>
</template>
<script setup>
const props = defineProps({
  title: String
})
</script>
<style lang="scss" scoped>
.sub-title-box {
  height: 20px;
  font-size: 15px;
  font-family: AlibabaPuHuiTi_2_65_Medium;
  color: #333333;
  display: flex;
  align-items: center;
}
.sub-title-box::before {
  content: '';
  margin-right: 8px;
  width: 5px;
  height: 20px;
  background: #3183e2;
}
.line {
  width: 100%;
  height: 1px;
  background: #e8e8e8;
  margin: 12px 0;
}
</style>
